const routerConfig = [
  {
    path: '/my',
    name: 'my',
    component: () => import('@/views/my'),
    meta: {
      title: '个人中心',
    },
  },
  {
    path: '/user-manage',
    name: 'user-manage',
    component: () => import('@/views/user-manage'),
    meta: {
      title: '用户管理',
    },
  },
  {
    path: '/user-manage/add',
    name: 'user-manage-add',
    component: () => import('@/views/user-manage/add-user.vue'),
    meta: {
      title: '添加用户',
    },
  },
  {
    path: '/news-manage',
    name: 'news-manage',
    component: () => import('@/views/news-manage'),
    meta: {
      title: '新闻管理',
    },
  },
  {
    path: '/news-manage/add',
    name: 'news-manage-add',
    component: () => import('@/views/news-manage/add-news.vue'),
    meta: {
      title: '新闻添加',
    },
  },
  {
    path: '/product-manage',
    name: 'product-manage',
    component: () => import('@/views/product-manage'),
    meta: {
      title: '产品管理',
    },
  },
  {
    path: '/product-manage/add',
    name: 'product-manage-add',
    component: () => import('@/views/product-manage/add-product.vue'),
    meta: {
      title: '添加产品',
    },
  },
  {
    path: '/router-manage/add',
    name: 'router-manage-add',
    component: () => import('@/views/router-manage/add.vue'),
    meta: {
      title: '路由添加',
    },
  },
  {
    path: '/router-manage',
    name: 'router-manage',
    component: () => import('@/views/router-manage'),
    meta: {
      title: '路由管理',
    },
  },
];

export default routerConfig;
